import { createRouter, createWebHistory } from 'vue-router'
const routerHistory = createWebHistory()
const router = createRouter({
    history: routerHistory,
    routes: [
        {
            path: '/search',
            component: () => import('../components/DouyinSearch.vue')
        },
         { path: '/',  component: () => import('../components/HomeMain.vue')},
      ]
})
export default router